package com.boot.mgt.dao.mysql

import com.boot.mgt.model.vo.TaPoliceSituationMonitoringVo
import org.apache.ibatis.annotations.Param
import org.springframework.stereotype.Repository

@Repository
interface TaPoliceSituationMonitoringTransactionMapper {

    fun searchTaPoliceSituationMonitoringList(map: Map<String, Any>?) : List<TaPoliceSituationMonitoringVo?>?

    fun detail(@Param("id")id: Long?, @Param("timeTag")timeTag: String?, @Param("regionId")regionId: String?): TaPoliceSituationMonitoringVo?

    fun detailSum(@Param("id")id: Long?, @Param("timeTag")timeTag: String?, @Param("regionId")regionId: String?): TaPoliceSituationMonitoringVo?

    fun update(@Param("bean") taPoliceSituationMonitoring: TaPoliceSituationMonitoringVo): Int

    fun insert(@Param("bean")taPoliceSituationMonitoring: TaPoliceSituationMonitoringVo): Int

    fun delete(map: Map<String, Any>?): Int

    fun searchOvertimeResultList(map: Map<String, Any>?) : List<TaPoliceSituationMonitoringVo?>?

    fun searchOvertimeOfTimeRangeResultList(map: HashMap<String, Any>?) : List<TaPoliceSituationMonitoringVo?>?

    fun searchBasicDistributionOfPolice(map: HashMap<String, Any>?) : List<Map<String, Any?>?>?

    fun searchBasicDistributionOfPoliceAction(map: HashMap<String, Any>?) : List<Map<String, Any?>?>?

}